<!-- Content -->
<div id="content">

    <!-- Content wrapper -->
    <div class="wrapper">

        <!-- Breadcrumbs line -->
        <div class="crumbs">
            <ul id="breadcrumbs" class="breadcrumb"> 
                <li><a href="#">Panel</a></li>
                <li class="active"><a href="<?= base_url('portada') ?>" title="">Portada</a></li>
            </ul>
        </div>
        <!-- /breadcrumbs line -->

        <!-- Page header -->
        <div class="page-header">
            <div class="page-title">
                <h5>Editar Responsable</h5>
                <span>CIEMPIESS-UNAM</span>
            </div>
        </div>
        <!-- /page header -->
        <?= @$mensaje; ?>
        <?= form_open_multipart('portada/actualizar_responsable') ?>
        <!-- Grid widgets -->
        <div class="row-fluid">
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Ingles</h6></div></div>
                    <div class="well body">
                        <div class="control-group">
                            <label class="control-label">Biografía:</label>
                            <div class="controls">
                                <textarea rows="10" cols="5"  maxlength="60000" name="bio_en" class="span12" id="req" required ><?= @$resp->BIO_EN; ?></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Español</h6></div></div>
                    <div class="well body">
                        <div class="control-group">
                            <label class="control-label">Biografía:</label>
                            <div class="controls">
                                <textarea rows="10" cols="5"  maxlength="60000" name="bio_es" class="span12" id="req" required ><?= @$resp->BIO_ES; ?></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- /grid widgets -->


        <!-- Grid widgets -->
        <div class="row-fluid">
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Datos generales</h6></div></div>
                    <div class="well body">

                        <div class="control-group">
                            <label class="control-label">Nombre: <span class="text-error">*</span></label>
                            <div class="controls">
                                <input type="text" class="validate[required] span12" maxlength="80" name="nombre" value="<?= @$resp->NOMBRE; ?>" required/>
                            </div>
                        </div> 

                        <div class="control-group">
                            <label class="control-label">Correo: <span class="text-error">*</span></label>
                            <div class="controls">
                                <input type="text" class="validate[required] span12" maxlength="80" name="correo" value="<?= @$resp->CORREO; ?>" required/>
                            </div>
                        </div> 

                        <div class="control-group">
                            <label class="control-label">Imagen:</label>
                            <div class="controls">
                                <input type="file" name="imagen" class="styled" id="req">
                            </div>
                        </div>

                        <input type="hidden" name="id" value="<?= @$resp->ID; ?>">
                        <input type="hidden" name="url" value="<?= @$resp->URL; ?>">

                        <div class="form-actions align-right">
                            <input name="actualizar_bio" type="submit" class="btn btn-info" value="ACTUALIZAR BIOGRAFÍA">
                        </div>

                    </div>
                </div>
            </div>
            <div class="span6">
                <div class="widget">
                    <div class="navbar"><div class="navbar-inner"><h6>Imagen</h6></div></div>
                    <div class="well body">
                        <img  src="<?= base_url() . 'assets/uploads/responsable/' . $resp->URL ?>" alt="">
                    </div>
                </div>

            </div>


        </div>
        <!-- /grid widgets -->
        <?= form_close() ?>
    </div>
    <!-- /content wrapper -->

</div>
<!-- /content -->